import React, { Component } from 'react'
import styles from './index.module.scss'

import {withRouter} from "react-router-dom"

class index extends Component {
    handleClick= ()=>{
        this.props.history.push("/searchCenter");
    }
    render() {
        return (
            <div className={styles.search} onClick={this.handleClick}>
                <div className={styles.innerSearch}>搜索</div>
            </div>
        )
    }
}
export default withRouter(index)
